<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>【环境配置】Windows下MySql安装配置 | FFFFOX's Blog</title><meta name="keywords" content="环境配置,运维,Mysql"><meta name="author" content="FFFFOX"><meta name="copyright" content="FFFFOX"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="MySql Windows安装最近因为一些原因还是切换到了Windows平台和我的Thinkpad X1一起战斗，本身用的都是远端服务器，而又有一些需求要本地安装一个版本，所以就是写一个教程记录一下安装过程1. 下载安装 官网提供的安装MySQL的方式有三种： 在线器：mysql-installer-web-community 离线包：mysql-installer-community 压缩版：m">
<meta property="og:type" content="article">
<meta property="og:title" content="【环境配置】Windows下MySql安装配置">
<meta property="og:url" content="https://ffffox.gitee.io/blog/2021/017d9db618.html">
<meta property="og:site_name" content="FFFFOX&#39;s Blog">
<meta property="og:description" content="MySql Windows安装最近因为一些原因还是切换到了Windows平台和我的Thinkpad X1一起战斗，本身用的都是远端服务器，而又有一些需求要本地安装一个版本，所以就是写一个教程记录一下安装过程1. 下载安装 官网提供的安装MySQL的方式有三种： 在线器：mysql-installer-web-community 离线包：mysql-installer-community 压缩版：m">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://img1.baidu.com/it/u=1843482182,566146116&fm=253&fmt=auto&app=120&f=JPEG?w=499&h=287">
<meta property="article:published_time" content="2021-01-06T14:34:57.000Z">
<meta property="article:modified_time" content="2022-04-12T08:56:32.254Z">
<meta property="article:author" content="FFFFOX">
<meta property="article:tag" content="环境配置">
<meta property="article:tag" content="运维">
<meta property="article:tag" content="Mysql">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://img1.baidu.com/it/u=1843482182,566146116&fm=253&fmt=auto&app=120&f=JPEG?w=499&h=287"><link rel="shortcut icon" href="/blog/img/apple-alt-solid.svg"><link rel="canonical" href="https://ffffox.gitee.io/blog/2021/017d9db618"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/blog/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/blog/',
  algolia: undefined,
  localSearch: undefined,
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery@2/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery@2/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isAnchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '【环境配置】Windows下MySql安装配置',
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2022-04-12 16:56:32'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 6.0.0"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="https://avatars.githubusercontent.com/u/30062830?v=4" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data is-center"><div class="data-item"><a href="/blog/archives/"><div class="headline">文章</div><div class="length-num">28</div></a></div><div class="data-item"><a href="/blog/tags/"><div class="headline">标签</div><div class="length-num">29</div></a></div><div class="data-item"><a href="/blog/categories/"><div class="headline">分类</div><div class="length-num">8</div></a></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/blog/"><i class="fa-fw fas fa-home"></i><span> Home</span></a></div><div class="menus_item"><a class="site-page" href="/blog/archives/"><i class="fa-fw fas fa-archive"></i><span> Archives</span></a></div><div class="menus_item"><a class="site-page" href="/blog/tags/"><i class="fa-fw fas fa-tags"></i><span> Tags</span></a></div><div class="menus_item"><a class="site-page" href="/blog/categories/"><i class="fa-fw fas fa-folder-open"></i><span> Categories</span></a></div><div class="menus_item"><a class="site-page" href="/blog/link/"><i class="fa-fw fas fa-link"></i><span> Link</span></a></div><div class="menus_item"><a class="site-page" href="/blog/about/"><i class="fa-fw fas fa-heart"></i><span> About</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url('https://img1.baidu.com/it/u=1843482182,566146116&amp;fm=253&amp;fmt=auto&amp;app=120&amp;f=JPEG?w=499&amp;h=287')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/blog/">FFFFOX's Blog</a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/blog/"><i class="fa-fw fas fa-home"></i><span> Home</span></a></div><div class="menus_item"><a class="site-page" href="/blog/archives/"><i class="fa-fw fas fa-archive"></i><span> Archives</span></a></div><div class="menus_item"><a class="site-page" href="/blog/tags/"><i class="fa-fw fas fa-tags"></i><span> Tags</span></a></div><div class="menus_item"><a class="site-page" href="/blog/categories/"><i class="fa-fw fas fa-folder-open"></i><span> Categories</span></a></div><div class="menus_item"><a class="site-page" href="/blog/link/"><i class="fa-fw fas fa-link"></i><span> Link</span></a></div><div class="menus_item"><a class="site-page" href="/blog/about/"><i class="fa-fw fas fa-heart"></i><span> About</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">【环境配置】Windows下MySql安装配置</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-01-06T14:34:57.000Z" title="发表于 2021-01-06 22:34:57">2021-01-06</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-04-12T08:56:32.254Z" title="更新于 2022-04-12 16:56:32">2022-04-12</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/blog/categories/%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE/">环境配置</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="【环境配置】Windows下MySql安装配置"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"></span></span><span class="post-meta-separator">|</span><span class="post-meta-commentcount"><i class="far fa-comments fa-fw post-meta-icon"></i><span class="post-meta-label">评论数:</span><a href="/blog/2021/017d9db618.html#post-comment" itemprop="discussionUrl"><span class="valine-comment-count" data-xid="/blog/2021/017d9db618.html" itemprop="commentCount"></span></a></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><h1 id="MySql-Windows安装"><a href="#MySql-Windows安装" class="headerlink" title="MySql Windows安装"></a>MySql Windows安装</h1><h3 id="最近因为一些原因还是切换到了Windows平台和我的Thinkpad-X1一起战斗，本身用的都是远端服务器，而又有一些需求要本地安装一个版本，所以就是写一个教程记录一下安装过程"><a href="#最近因为一些原因还是切换到了Windows平台和我的Thinkpad-X1一起战斗，本身用的都是远端服务器，而又有一些需求要本地安装一个版本，所以就是写一个教程记录一下安装过程" class="headerlink" title="最近因为一些原因还是切换到了Windows平台和我的Thinkpad X1一起战斗，本身用的都是远端服务器，而又有一些需求要本地安装一个版本，所以就是写一个教程记录一下安装过程"></a>最近因为一些原因还是切换到了Windows平台和我的Thinkpad X1一起战斗，本身用的都是远端服务器，而又有一些需求要本地安装一个版本，所以就是写一个教程记录一下安装过程</h3><h2 id="1-下载安装"><a href="#1-下载安装" class="headerlink" title="1. 下载安装"></a>1. 下载安装</h2><ul>
<li><h3 id="官网提供的安装MySQL的方式有三种："><a href="#官网提供的安装MySQL的方式有三种：" class="headerlink" title="官网提供的安装MySQL的方式有三种："></a>官网提供的安装MySQL的方式有三种：</h3><ul>
<li>在线器：mysql-installer-web-community</li>
<li>离线包：mysql-installer-community</li>
<li>压缩版：mysql-8.0.13-winx64</li>
</ul>
</li>
<li><h3 id="但实质上只有两种，一种是用安装包安装，一种是用压缩包安装。"><a href="#但实质上只有两种，一种是用安装包安装，一种是用压缩包安装。" class="headerlink" title="但实质上只有两种，一种是用安装包安装，一种是用压缩包安装。"></a>但实质上只有两种，一种是用安装包安装，一种是用压缩包安装。</h3><ul>
<li>官网地址：<a target="_blank" rel="noopener" href="https://dev.mysql.com/downloads/mysql/">https://dev.mysql.com/downloads/mysql/</a></li>
</ul>
</li>
<li><h3 id="那我们因为方便配置、版本管理等等原因还是选择直接使用压缩包安装"><a href="#那我们因为方便配置、版本管理等等原因还是选择直接使用压缩包安装" class="headerlink" title="那我们因为方便配置、版本管理等等原因还是选择直接使用压缩包安装"></a>那我们因为方便配置、版本管理等等原因还是选择直接使用压缩包安装</h3><ul>
<li>「这样思路也和mac&#x2F;linux大体通用」</li>
</ul>
</li>
<li><h3 id="将压缩包解压并将⽂件夹移到你想要的路径下"><a href="#将压缩包解压并将⽂件夹移到你想要的路径下" class="headerlink" title="将压缩包解压并将⽂件夹移到你想要的路径下"></a>将压缩包解压并将⽂件夹移到你想要的路径下</h3><img src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/image-20220307083324160.png" alt="image-20220307083324160" style="zoom:50%;" />
</li>
<li><h3 id="使⽤CMD（管理员⾝份打开）进⼊该⽂件夹下的bin⽂件夹（⼀定是CMD不能是-Powershell）"><a href="#使⽤CMD（管理员⾝份打开）进⼊该⽂件夹下的bin⽂件夹（⼀定是CMD不能是-Powershell）" class="headerlink" title="使⽤CMD（管理员⾝份打开）进⼊该⽂件夹下的bin⽂件夹（⼀定是CMD不能是 Powershell）"></a>使⽤CMD（管理员⾝份打开）进⼊该⽂件夹下的bin⽂件夹（⼀定是CMD不能是 Powershell）</h3><img src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/image-20220307083940952.png" alt="image-20220307083940952" style="zoom:50%;" />
</li>
<li><h3 id="输⼊以下命令初始化数据库并记下初始密码"><a href="#输⼊以下命令初始化数据库并记下初始密码" class="headerlink" title="输⼊以下命令初始化数据库并记下初始密码"></a>输⼊以下命令初始化数据库并记下初始密码</h3><figure class="highlight powershell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">mysqld <span class="literal">--initialize</span> <span class="literal">--console</span> </span><br><span class="line"><span class="comment"># ⬇️红框内为初始密码（随机⽣成），记下</span></span><br></pre></td></tr></table></figure>

<img src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/image-20220307084102024.png" alt="image-20220307084102024" style="zoom:50%;" />
</li>
<li><h3 id="输⼊以下命令将mysql安装为Windows的服务"><a href="#输⼊以下命令将mysql安装为Windows的服务" class="headerlink" title="输⼊以下命令将mysql安装为Windows的服务"></a>输⼊以下命令将mysql安装为Windows的服务</h3><figure class="highlight powershell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">mysqld <span class="literal">-install</span></span><br></pre></td></tr></table></figure>

<blockquote>
<p>如果失败注意是不是没有以管理员⾝份启动的CMD</p>
</blockquote>
</li>
</ul>
<h2 id="2-启动服务并修改密码"><a href="#2-启动服务并修改密码" class="headerlink" title="2. 启动服务并修改密码"></a>2. 启动服务并修改密码</h2><ul>
<li><h3 id="输⼊命令-net-start-mysql-或-sc-start-mysql-启动mysql服务"><a href="#输⼊命令-net-start-mysql-或-sc-start-mysql-启动mysql服务" class="headerlink" title="输⼊命令 net start mysql 或 sc start mysql 启动mysql服务"></a>输⼊命令 net start mysql 或 sc start mysql 启动mysql服务</h3></li>
<li><h3 id="输⼊mysql-u-root-p来登陆数据库，并输⼊前⾯记录的初始密码"><a href="#输⼊mysql-u-root-p来登陆数据库，并输⼊前⾯记录的初始密码" class="headerlink" title="输⼊mysql -u root -p来登陆数据库，并输⼊前⾯记录的初始密码"></a>输⼊mysql -u root -p来登陆数据库，并输⼊前⾯记录的初始密码</h3></li>
<li><h3 id="登陆成功后输⼊以下命令将原来复杂的密码修改为⾃⼰的密码"><a href="#登陆成功后输⼊以下命令将原来复杂的密码修改为⾃⼰的密码" class="headerlink" title="登陆成功后输⼊以下命令将原来复杂的密码修改为⾃⼰的密码:"></a>登陆成功后输⼊以下命令将原来复杂的密码修改为⾃⼰的密码:</h3><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">ALTER USER &#x27;root&#x27;@&#x27;localhost&#x27; IDENTIFIED WITH mysql_native_password BY &#x27;你想设置的密码&#x27;; </span><br><span class="line"># 改密码尽量按这样该不然navicat连接时会报错 </span><br><span class="line">FLUSH PRIVILEGES; #输⼊应⽤密码更改 </span><br></pre></td></tr></table></figure></li>
</ul>
<h2 id="3-设置环境变量"><a href="#3-设置环境变量" class="headerlink" title="3. 设置环境变量"></a>3. 设置环境变量</h2><ul>
<li><h3 id="进⼊计算机属性→⾼级系统设置→环境变量→path"><a href="#进⼊计算机属性→⾼级系统设置→环境变量→path" class="headerlink" title="进⼊计算机属性→⾼级系统设置→环境变量→path"></a>进⼊计算机属性→⾼级系统设置→环境变量→path</h3><img src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/image-20220307084518028.png" alt="image-20220307084518028" style="zoom:50%;" />
</li>
<li><h3 id="将mysql中bin⽂件夹添加进path"><a href="#将mysql中bin⽂件夹添加进path" class="headerlink" title="将mysql中bin⽂件夹添加进path"></a>将mysql中bin⽂件夹添加进path</h3><p><img src="https://s2.loli.net/2022/03/11/dQhSBApKmkPglRz.png" alt="image-20220311193305183"></p>
</li>
<li><h3 id="至此你就可以在cmd-x2F-powershell中任意目录直接输入mysql来启动数据库服务"><a href="#至此你就可以在cmd-x2F-powershell中任意目录直接输入mysql来启动数据库服务" class="headerlink" title="至此你就可以在cmd&#x2F;powershell中任意目录直接输入mysql来启动数据库服务"></a>至此你就可以在cmd&#x2F;powershell中任意目录直接输入mysql来启动数据库服务</h3></li>
</ul>
<h2 id="4-One-More-Thing"><a href="#4-One-More-Thing" class="headerlink" title="4. One More Thing"></a>4. One More Thing</h2><h3 id="那其实安装而言其实还是很简单的，这篇也只是简单记录一下安装步骤，但是依然建议大家是用类似的方法去做好软件的管理和计算机内文件的管理"><a href="#那其实安装而言其实还是很简单的，这篇也只是简单记录一下安装步骤，但是依然建议大家是用类似的方法去做好软件的管理和计算机内文件的管理" class="headerlink" title="那其实安装而言其实还是很简单的，这篇也只是简单记录一下安装步骤，但是依然建议大家是用类似的方法去做好软件的管理和计算机内文件的管理"></a>那其实安装而言其实还是很简单的，这篇也只是简单记录一下安装步骤，但是依然建议大家是用类似的方法去做好软件的管理和计算机内文件的管理</h3><h3 id="相较于安装版而言，指向性的安装确实有更高的自定义程度和灵活性"><a href="#相较于安装版而言，指向性的安装确实有更高的自定义程度和灵活性" class="headerlink" title="相较于安装版而言，指向性的安装确实有更高的自定义程度和灵活性"></a>相较于安装版而言，指向性的安装确实有更高的自定义程度和灵活性</h3><h3 id="完"><a href="#完" class="headerlink" title="完."></a>完.</h3></article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="mailto:undefined">FFFFOX</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://ffffox.gitee.io/blog/2021/017d9db618.html">https://ffffox.gitee.io/blog/2021/017d9db618.html</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://ffffox.gitee.io/blog" target="_blank">FFFFOX's Blog</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/blog/tags/%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE/">环境配置</a><a class="post-meta__tags" href="/blog/tags/%E8%BF%90%E7%BB%B4/">运维</a><a class="post-meta__tags" href="/blog/tags/Mysql/">Mysql</a></div><div class="post_share"><div class="social-share" data-image="https://img1.baidu.com/it/u=1843482182,566146116&amp;fm=253&amp;fmt=auto&amp;app=120&amp;f=JPEG?w=499&amp;h=287" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js" defer></script></div></div><div class="post-reward"><div class="reward-button"><i class="fas fa-qrcode"></i> 打赏</div><div class="reward-main"><ul class="reward-all"><li class="reward-item"><a href="/blog/img/wechat.jpg" target="_blank"><img class="post-qr-code-img" src="/blog/img/wechat.jpg" alt="wechat"/></a><div class="post-qr-code-desc">wechat</div></li><li class="reward-item"><a href="/blog/img/alipay.jpg" target="_blank"><img class="post-qr-code-img" src="/blog/img/alipay.jpg" alt="alipay"/></a><div class="post-qr-code-desc">alipay</div></li></ul></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-full"><a href="/blog/2021/02dd94d5e7.html"><img class="prev-cover" src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/C53E8DA4-361A-4FDC-8ED7-1B4B475C8373_1_105_c.jpeg" onerror="onerror=null;src='/blog/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">【笔记】软件工程速成计划（一）</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/blog/2022/03f1def605.html" title="【工作流】Hexo+Gitee的国内舒适博客部署方案（一）"><img class="cover" src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/33DEB0CD-8774-4842-A57E-E7B9D4BAD14C_1_105_c.jpeg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-03-07</div><div class="title">【工作流】Hexo+Gitee的国内舒适博客部署方案（一）</div></div></a></div><div><a href="/blog/2022/0425a17255.html" title="【环境配置】Docker安装Portainer"><img class="cover" src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/9D9DC5C7-85F9-4598-B4FD-4965B4C958AB_1_105_c.jpeg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-04-06</div><div class="title">【环境配置】Docker安装Portainer</div></div></a></div><div><a href="/blog/2021/102b95fba7.html" title="【环境配置】JupyterHub + Linux权限管理配置记录"><img class="cover" src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/DE56D144-2E84-4B19-98A6-B9E2F07DDCA9_1_105_c.jpeg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2021-10-06</div><div class="title">【环境配置】JupyterHub + Linux权限管理配置记录</div></div></a></div><div><a href="/blog/2022/042a8ab19e.html" title="【数据分析】MongoDB副本集部署"><img class="cover" src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/0A183AF5-1B7A-4EEC-A600-3A73095A00EF_1_105_c.jpeg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-04-11</div><div class="title">【数据分析】MongoDB副本集部署</div></div></a></div></div></div><hr/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div class="vcomment" id="vcomment"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="https://avatars.githubusercontent.com/u/30062830?v=4" onerror="this.onerror=null;this.src='/blog/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">FFFFOX</div><div class="author-info__description">精致垃圾佬</div></div><div class="card-info-data is-center"><div class="card-info-data-item"><a href="/blog/archives/"><div class="headline">文章</div><div class="length-num">28</div></a></div><div class="card-info-data-item"><a href="/blog/tags/"><div class="headline">标签</div><div class="length-num">29</div></a></div><div class="card-info-data-item"><a href="/blog/categories/"><div class="headline">分类</div><div class="length-num">8</div></a></div></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/FFFFOX"><i class="fab fa-github"></i><span>Follow Me</span></a></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">最近刚刚迁移来gitee+hexo的博客，内容在慢慢搬，很多内容有空缺，不定期更新</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#MySql-Windows%E5%AE%89%E8%A3%85"><span class="toc-number">1.</span> <span class="toc-text">MySql Windows安装</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%9C%80%E8%BF%91%E5%9B%A0%E4%B8%BA%E4%B8%80%E4%BA%9B%E5%8E%9F%E5%9B%A0%E8%BF%98%E6%98%AF%E5%88%87%E6%8D%A2%E5%88%B0%E4%BA%86Windows%E5%B9%B3%E5%8F%B0%E5%92%8C%E6%88%91%E7%9A%84Thinkpad-X1%E4%B8%80%E8%B5%B7%E6%88%98%E6%96%97%EF%BC%8C%E6%9C%AC%E8%BA%AB%E7%94%A8%E7%9A%84%E9%83%BD%E6%98%AF%E8%BF%9C%E7%AB%AF%E6%9C%8D%E5%8A%A1%E5%99%A8%EF%BC%8C%E8%80%8C%E5%8F%88%E6%9C%89%E4%B8%80%E4%BA%9B%E9%9C%80%E6%B1%82%E8%A6%81%E6%9C%AC%E5%9C%B0%E5%AE%89%E8%A3%85%E4%B8%80%E4%B8%AA%E7%89%88%E6%9C%AC%EF%BC%8C%E6%89%80%E4%BB%A5%E5%B0%B1%E6%98%AF%E5%86%99%E4%B8%80%E4%B8%AA%E6%95%99%E7%A8%8B%E8%AE%B0%E5%BD%95%E4%B8%80%E4%B8%8B%E5%AE%89%E8%A3%85%E8%BF%87%E7%A8%8B"><span class="toc-number">1.0.1.</span> <span class="toc-text">最近因为一些原因还是切换到了Windows平台和我的Thinkpad X1一起战斗，本身用的都是远端服务器，而又有一些需求要本地安装一个版本，所以就是写一个教程记录一下安装过程</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#1-%E4%B8%8B%E8%BD%BD%E5%AE%89%E8%A3%85"><span class="toc-number">1.1.</span> <span class="toc-text">1. 下载安装</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%AE%98%E7%BD%91%E6%8F%90%E4%BE%9B%E7%9A%84%E5%AE%89%E8%A3%85MySQL%E7%9A%84%E6%96%B9%E5%BC%8F%E6%9C%89%E4%B8%89%E7%A7%8D%EF%BC%9A"><span class="toc-number">1.1.1.</span> <span class="toc-text">官网提供的安装MySQL的方式有三种：</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E4%BD%86%E5%AE%9E%E8%B4%A8%E4%B8%8A%E5%8F%AA%E6%9C%89%E4%B8%A4%E7%A7%8D%EF%BC%8C%E4%B8%80%E7%A7%8D%E6%98%AF%E7%94%A8%E5%AE%89%E8%A3%85%E5%8C%85%E5%AE%89%E8%A3%85%EF%BC%8C%E4%B8%80%E7%A7%8D%E6%98%AF%E7%94%A8%E5%8E%8B%E7%BC%A9%E5%8C%85%E5%AE%89%E8%A3%85%E3%80%82"><span class="toc-number">1.1.2.</span> <span class="toc-text">但实质上只有两种，一种是用安装包安装，一种是用压缩包安装。</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E9%82%A3%E6%88%91%E4%BB%AC%E5%9B%A0%E4%B8%BA%E6%96%B9%E4%BE%BF%E9%85%8D%E7%BD%AE%E3%80%81%E7%89%88%E6%9C%AC%E7%AE%A1%E7%90%86%E7%AD%89%E7%AD%89%E5%8E%9F%E5%9B%A0%E8%BF%98%E6%98%AF%E9%80%89%E6%8B%A9%E7%9B%B4%E6%8E%A5%E4%BD%BF%E7%94%A8%E5%8E%8B%E7%BC%A9%E5%8C%85%E5%AE%89%E8%A3%85"><span class="toc-number">1.1.3.</span> <span class="toc-text">那我们因为方便配置、版本管理等等原因还是选择直接使用压缩包安装</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%B0%86%E5%8E%8B%E7%BC%A9%E5%8C%85%E8%A7%A3%E5%8E%8B%E5%B9%B6%E5%B0%86%E2%BD%82%E4%BB%B6%E5%A4%B9%E7%A7%BB%E5%88%B0%E4%BD%A0%E6%83%B3%E8%A6%81%E7%9A%84%E8%B7%AF%E5%BE%84%E4%B8%8B"><span class="toc-number">1.1.4.</span> <span class="toc-text">将压缩包解压并将⽂件夹移到你想要的路径下</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E4%BD%BF%E2%BD%A4CMD%EF%BC%88%E7%AE%A1%E7%90%86%E5%91%98%E2%BE%9D%E4%BB%BD%E6%89%93%E5%BC%80%EF%BC%89%E8%BF%9B%E2%BC%8A%E8%AF%A5%E2%BD%82%E4%BB%B6%E5%A4%B9%E4%B8%8B%E7%9A%84bin%E2%BD%82%E4%BB%B6%E5%A4%B9%EF%BC%88%E2%BC%80%E5%AE%9A%E6%98%AFCMD%E4%B8%8D%E8%83%BD%E6%98%AF-Powershell%EF%BC%89"><span class="toc-number">1.1.5.</span> <span class="toc-text">使⽤CMD（管理员⾝份打开）进⼊该⽂件夹下的bin⽂件夹（⼀定是CMD不能是 Powershell）</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E8%BE%93%E2%BC%8A%E4%BB%A5%E4%B8%8B%E5%91%BD%E4%BB%A4%E5%88%9D%E5%A7%8B%E5%8C%96%E6%95%B0%E6%8D%AE%E5%BA%93%E5%B9%B6%E8%AE%B0%E4%B8%8B%E5%88%9D%E5%A7%8B%E5%AF%86%E7%A0%81"><span class="toc-number">1.1.6.</span> <span class="toc-text">输⼊以下命令初始化数据库并记下初始密码</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E8%BE%93%E2%BC%8A%E4%BB%A5%E4%B8%8B%E5%91%BD%E4%BB%A4%E5%B0%86mysql%E5%AE%89%E8%A3%85%E4%B8%BAWindows%E7%9A%84%E6%9C%8D%E5%8A%A1"><span class="toc-number">1.1.7.</span> <span class="toc-text">输⼊以下命令将mysql安装为Windows的服务</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#2-%E5%90%AF%E5%8A%A8%E6%9C%8D%E5%8A%A1%E5%B9%B6%E4%BF%AE%E6%94%B9%E5%AF%86%E7%A0%81"><span class="toc-number">1.2.</span> <span class="toc-text">2. 启动服务并修改密码</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E8%BE%93%E2%BC%8A%E5%91%BD%E4%BB%A4-net-start-mysql-%E6%88%96-sc-start-mysql-%E5%90%AF%E5%8A%A8mysql%E6%9C%8D%E5%8A%A1"><span class="toc-number">1.2.1.</span> <span class="toc-text">输⼊命令 net start mysql 或 sc start mysql 启动mysql服务</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E8%BE%93%E2%BC%8Amysql-u-root-p%E6%9D%A5%E7%99%BB%E9%99%86%E6%95%B0%E6%8D%AE%E5%BA%93%EF%BC%8C%E5%B9%B6%E8%BE%93%E2%BC%8A%E5%89%8D%E2%BE%AF%E8%AE%B0%E5%BD%95%E7%9A%84%E5%88%9D%E5%A7%8B%E5%AF%86%E7%A0%81"><span class="toc-number">1.2.2.</span> <span class="toc-text">输⼊mysql -u root -p来登陆数据库，并输⼊前⾯记录的初始密码</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%99%BB%E9%99%86%E6%88%90%E5%8A%9F%E5%90%8E%E8%BE%93%E2%BC%8A%E4%BB%A5%E4%B8%8B%E5%91%BD%E4%BB%A4%E5%B0%86%E5%8E%9F%E6%9D%A5%E5%A4%8D%E6%9D%82%E7%9A%84%E5%AF%86%E7%A0%81%E4%BF%AE%E6%94%B9%E4%B8%BA%E2%BE%83%E2%BC%B0%E7%9A%84%E5%AF%86%E7%A0%81"><span class="toc-number">1.2.3.</span> <span class="toc-text">登陆成功后输⼊以下命令将原来复杂的密码修改为⾃⼰的密码:</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#3-%E8%AE%BE%E7%BD%AE%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F"><span class="toc-number">1.3.</span> <span class="toc-text">3. 设置环境变量</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E8%BF%9B%E2%BC%8A%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%B1%9E%E6%80%A7%E2%86%92%E2%BE%BC%E7%BA%A7%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE%E2%86%92%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E2%86%92path"><span class="toc-number">1.3.1.</span> <span class="toc-text">进⼊计算机属性→⾼级系统设置→环境变量→path</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%B0%86mysql%E4%B8%ADbin%E2%BD%82%E4%BB%B6%E5%A4%B9%E6%B7%BB%E5%8A%A0%E8%BF%9Bpath"><span class="toc-number">1.3.2.</span> <span class="toc-text">将mysql中bin⽂件夹添加进path</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E8%87%B3%E6%AD%A4%E4%BD%A0%E5%B0%B1%E5%8F%AF%E4%BB%A5%E5%9C%A8cmd-x2F-powershell%E4%B8%AD%E4%BB%BB%E6%84%8F%E7%9B%AE%E5%BD%95%E7%9B%B4%E6%8E%A5%E8%BE%93%E5%85%A5mysql%E6%9D%A5%E5%90%AF%E5%8A%A8%E6%95%B0%E6%8D%AE%E5%BA%93%E6%9C%8D%E5%8A%A1"><span class="toc-number">1.3.3.</span> <span class="toc-text">至此你就可以在cmd&#x2F;powershell中任意目录直接输入mysql来启动数据库服务</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#4-One-More-Thing"><span class="toc-number">1.4.</span> <span class="toc-text">4. One More Thing</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E9%82%A3%E5%85%B6%E5%AE%9E%E5%AE%89%E8%A3%85%E8%80%8C%E8%A8%80%E5%85%B6%E5%AE%9E%E8%BF%98%E6%98%AF%E5%BE%88%E7%AE%80%E5%8D%95%E7%9A%84%EF%BC%8C%E8%BF%99%E7%AF%87%E4%B9%9F%E5%8F%AA%E6%98%AF%E7%AE%80%E5%8D%95%E8%AE%B0%E5%BD%95%E4%B8%80%E4%B8%8B%E5%AE%89%E8%A3%85%E6%AD%A5%E9%AA%A4%EF%BC%8C%E4%BD%86%E6%98%AF%E4%BE%9D%E7%84%B6%E5%BB%BA%E8%AE%AE%E5%A4%A7%E5%AE%B6%E6%98%AF%E7%94%A8%E7%B1%BB%E4%BC%BC%E7%9A%84%E6%96%B9%E6%B3%95%E5%8E%BB%E5%81%9A%E5%A5%BD%E8%BD%AF%E4%BB%B6%E7%9A%84%E7%AE%A1%E7%90%86%E5%92%8C%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%86%85%E6%96%87%E4%BB%B6%E7%9A%84%E7%AE%A1%E7%90%86"><span class="toc-number">1.4.1.</span> <span class="toc-text">那其实安装而言其实还是很简单的，这篇也只是简单记录一下安装步骤，但是依然建议大家是用类似的方法去做好软件的管理和计算机内文件的管理</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%9B%B8%E8%BE%83%E4%BA%8E%E5%AE%89%E8%A3%85%E7%89%88%E8%80%8C%E8%A8%80%EF%BC%8C%E6%8C%87%E5%90%91%E6%80%A7%E7%9A%84%E5%AE%89%E8%A3%85%E7%A1%AE%E5%AE%9E%E6%9C%89%E6%9B%B4%E9%AB%98%E7%9A%84%E8%87%AA%E5%AE%9A%E4%B9%89%E7%A8%8B%E5%BA%A6%E5%92%8C%E7%81%B5%E6%B4%BB%E6%80%A7"><span class="toc-number">1.4.2.</span> <span class="toc-text">相较于安装版而言，指向性的安装确实有更高的自定义程度和灵活性</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%AE%8C"><span class="toc-number">1.4.3.</span> <span class="toc-text">完.</span></a></li></ol></li></ol></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/blog/2022/12a078cdcc.html" title="【笔记】七牛云iOS面经（二）"><img src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/77F5E03C-F5F1-4E7B-A0B2-D579512C62FC_1_105_c.jpeg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="【笔记】七牛云iOS面经（二）"/></a><div class="content"><a class="title" href="/blog/2022/12a078cdcc.html" title="【笔记】七牛云iOS面经（二）">【笔记】七牛云iOS面经（二）</a><time datetime="2022-12-12T14:47:49.000Z" title="发表于 2022-12-12 22:47:49">2022-12-12</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2022/12906e2114.html" title="【笔记】七牛云iOS面经（一）"><img src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/0A183AF5-1B7A-4EEC-A600-3A73095A00EF_1_105_c.jpeg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="【笔记】七牛云iOS面经（一）"/></a><div class="content"><a class="title" href="/blog/2022/12906e2114.html" title="【笔记】七牛云iOS面经（一）">【笔记】七牛云iOS面经（一）</a><time datetime="2022-12-12T08:10:13.000Z" title="发表于 2022-12-12 16:10:13">2022-12-12</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2022/042a8ab19e.html" title="【数据分析】MongoDB副本集部署"><img src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/0A183AF5-1B7A-4EEC-A600-3A73095A00EF_1_105_c.jpeg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="【数据分析】MongoDB副本集部署"/></a><div class="content"><a class="title" href="/blog/2022/042a8ab19e.html" title="【数据分析】MongoDB副本集部署">【数据分析】MongoDB副本集部署</a><time datetime="2022-04-11T05:19:16.000Z" title="发表于 2022-04-11 13:19:16">2022-04-11</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2022/0425a17255.html" title="【环境配置】Docker安装Portainer"><img src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/9D9DC5C7-85F9-4598-B4FD-4965B4C958AB_1_105_c.jpeg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="【环境配置】Docker安装Portainer"/></a><div class="content"><a class="title" href="/blog/2022/0425a17255.html" title="【环境配置】Docker安装Portainer">【环境配置】Docker安装Portainer</a><time datetime="2022-04-06T11:59:28.000Z" title="发表于 2022-04-06 19:59:28">2022-04-06</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2022/03f4410d7c.html" title="【笔记】字节iOS实习面经/凉经（一）"><img src="https://gitee.com/FFFFOX/picgo-repo/raw/master/img/BFA2BC1E-FD53-4064-A548-872CA55CE207_1_105_c.jpeg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="【笔记】字节iOS实习面经/凉经（一）"/></a><div class="content"><a class="title" href="/blog/2022/03f4410d7c.html" title="【笔记】字节iOS实习面经/凉经（一）">【笔记】字节iOS实习面经/凉经（一）</a><time datetime="2022-03-18T14:27:23.000Z" title="发表于 2022-03-18 22:27:23">2022-03-18</time></div></div></div></div></div></div></main><footer id="footer" style="background-image: url('https://img1.baidu.com/it/u=1843482182,566146116&amp;fm=253&amp;fmt=auto&amp;app=120&amp;f=JPEG?w=499&amp;h=287')"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2022 By FFFFOX</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/blog/js/utils.js"></script><script src="/blog/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.js"></script><script>var preloader = {
  endLoading: () => {
    document.body.style.overflow = 'auto';
    document.getElementById('loading-box').classList.add("loaded")
  },
  initLoading: () => {
    document.body.style.overflow = '';
    document.getElementById('loading-box').classList.remove("loaded")

  }
}
window.addEventListener('load',preloader.endLoading())</script><div class="js-pjax"><script>function loadValine () {
  function initValine () {
    const valine = new Valine(Object.assign({
      el: '#vcomment',
      appId: '1jLSlV60mfYOQSNfHjBAomNu-MdYXbMMI',
      appKey: '2HD4zrWuwyR8YX8ec3MprTml',
      avatar: 'monsterid',
      serverURLs: 'https://1jlslv60.api.lncldglobal.com',
      emojiMaps: "",
      path: window.location.pathname,
      visitor: true
    }, null))
  }

  if (typeof Valine === 'function') initValine() 
  else getScript('https://cdn.jsdelivr.net/npm/valine/dist/Valine.min.js').then(initValine)
}

if ('Valine' === 'Valine' || !false) {
  if (false) btf.loadComment(document.getElementById('vcomment'),loadValine)
  else setTimeout(loadValine, 0)
} else {
  function loadOtherComment () {
    loadValine()
  }
}</script></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>